package com.mark.singletableproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mark.singletableproject.entity.China;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChinaMapper extends BaseMapper<China> {

    void insertOne(@Param("china") China china);

    void bulkInsert(@Param("chinaList") List<China> chinaList);

    void aSingleUpdat(@Param("china") China china);

    void batchUpdate(@Param("chinaList") List<China> chinaList);

    List<China> chinaListByVillageName(@Param("villageNameS") List<String> villageNameS);
}
